if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Plate]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[Plate]
GO

CREATE TABLE [dbo].[Plate] (
	[PlateId] [int] IDENTITY (1, 1) NOT NULL ,
	[PlateNumber] [varchar] (10) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL ,
	[OwnerId] [int] NULL ,
	[PlateTypeId] [int] NULL
) ON [PRIMARY]
GO

